home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group98a.txt / 000050_icon-group-sender _Tue Feb 24 08:22:41 1998.msg < prev    next >
Internet Message Format  |  2000-09-20  |  2KB

  1. Return-Path: <icon-group-sender>
  2. Received: from kingfisher.CS.Arizona.EDU (kingfisher.CS.Arizona.EDU [192.12.69.239])
  3.     by baskerville.CS.Arizona.EDU (8.8.7/8.8.7) with SMTP id IAA07086
  4.     for <icon-group-addresses@baskerville.CS.Arizona.EDU>; Tue, 24 Feb 1998 08:22:33 -0700 (MST)
  5. Received: by kingfisher.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
  6.     id AA21033; Tue, 24 Feb 1998 08:22:29 -0700
  7. Message-Id: <34F26F1D.A617B066@erols.com>
  8. Date: Tue, 24 Feb 1998 01:56:29 -0500
  9. From: Adnan Khan <mr2r@erols.com>
  10. X-Mailer: Mozilla 4.03 [en] (Win95; I)
  11. Mime-Version: 1.0
  12. To: icon-group@optima.CS.Arizona.EDU, sunyd21@aol.com
  13. Subject: help with icon programing
  14. Content-Type: text/plain; charset=us-ascii
  15. Content-Transfer-Encoding: 7bit
  16. Errors-To: icon-group-errors@optima.CS.Arizona.EDU
  17. Status: RO
  18. Content-Length: 822
  19.  
  20. Hi there!
  21.    I am new with this language and I have two questions.   I am trying
  22. to intialize a character in icon language and i don't know how to do
  23. it.  Could you please tell me how to intilize something as a character.
  24. Second, I am checking if two things or same or not by using an 'if'
  25. statement. and... my project reads one character and checks if it is '0'
  26. (zero) or not.  As long as the character which is read in from the file
  27. is an integer the program runs fine, but when it reads a non-integer
  28. charcter from the file it gives me an error msg. of something like type
  29. mismatch or something.   My first question relates to the same thing.  I
  30. want to declare that the thing read from the file is a character and not
  31. an integer and then I want to compare them.
  32. Thanks.
  33. Hassan.
  34. reply to sunyd21@aol.com      Thanx.
  35.  
  36.  
  37.